function Person(name, age) {
  // !#1 实例属性/方法：挂载到实例上面的
  this.name = name
  this.age = age
  this.say = function() {}
}

// !#3 静态属性/方法：只能通过构造函数来方法的
Person.version = 2
Person.getVersion = function() {
  return this.version;
}

// !#2 原型属性/方法
Person.prototype.test = 888
Person.prototype.say = function() {
  console.log(1)
}

const p = new Person('xxx', 18)
console.log(Person.version)
console.log(Person.getVersion())


const promise = new Promise(() => {})
promise.then()

Promise.resolve()
Promise.any()
Promise.all()
Promise.race()